//该文件用于创建路由实例对象，是路由的主配置文件
import {createRouter,createWebHashHistory} from "vue-router"

import staticRoutes from "./router-static";
import asyncRoutes from "./router-async";

const router=createRouter({
    history: createWebHashHistory(),
    routes: [...staticRoutes,...asyncRoutes]
})


export default router